package com.sen.patterns.structural.decorator.ex1;

public class Decorator extends SimpleNumber {
	
	private SimpleNumber simpleNumber; 
	
	public Decorator(SimpleNumber simpleNumber) {
		this.simpleNumber = simpleNumber;
	}

	public void print() {
		System.out.print("Random number: ");
		simpleNumber.print();
	}
	
}
